Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_GD_SETFILLVALUE

EOS_GD_SETFILLVALUE

This function sets the fill value for the specified field. The fill value is placed in all elements of the field which have not been explicitly defined.

Syntax

Result = EOS_GD_SETFILLVALUE(gridID, fieldname, fillvalue)

Return Value

Returns SUCCEED(0) if successful and FAIL(–1) otherwise.

Arguments

gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

fieldname

Fieldname (string).

fillvalue

The fill value to be used.

Keywords

None

Examples

In this example, we set a fill value for the “Temperature” field:

tempfill = -999.0

status = EOS_GD_SETFILLVALUE(gridID, "Temperature", tempfill)

Version History

 

5.2

Introduced